Previous topicNext topic
Help > Keyword Reference >
LOC function

Purpose

Determine the current seek position in an open disk file.

Syntax

qResult&& = LOC([#] filenum&)

Remarks

LOC is provided for compatibility with older BASICs. It is recommended that code is modified to use the SEEK function instead. The Number symbol (#) is optional, but recommended for clarity.

See also

FILEATTR, SEEK function, SEEK statement